import request from '@/utils/request'
import qs from 'qs'

// 一级菜单
export const oneEventtype = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getOneEventType',
        method: 'post',
        params: params
    });
}
// 三级菜单
export const twoEventtype = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getTwoEventType',
        method: 'post',
        params: params
    });
}
// 三级菜单
export const threeEventtype = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getThreeEventType',
        method: 'post',
        params: params
    });
}

//快报——报告上传
export const addreport = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/add',
        method: 'post',
        data: params
    });
}

export const businessimpactoption = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getBusinessImpact',
        method: 'post',
        params: params
    });
}
export const  getDepartment = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getDepartment',
        method: 'post',
        params: params
    });
}
export const getprovice = (params) => {
    return new request({
        url: './public_sentiment_three/reportFast/getProvince',
        method: 'get',
        params: params
    });
}
